﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="frmCambioContrasena.aspx.cs" Inherits="frmCambioContrasena" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat=server>


    <div>
        <table align="center">
            <tr align="center" class="Titulo">
                <td colspan="2">Cambiar Contraseña</td>
            </tr>
            <tr>
                <td align="left">Contraseña actual:</td>
                <td align="left">
                    <asp:TextBox ID="txtActual" runat="server" CssClass="TextBox" MaxLength="50"
                        Width="176px" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtActual"
                        Display="None" ErrorMessage="Debe escribir su contraseña actual"
                        ValidationGroup="Crear"></asp:RequiredFieldValidator></td>
                        
            </tr>
            <tr>
                <td align="left">Contraseña: </td>
                <td align="left">
                    <asp:TextBox ID="txtContrasena" runat="server" CssClass="TextBox" MaxLength="50"
                        Width="176px" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="vldContrasena" runat="server" ControlToValidate="txtContrasena"
                        Display="None" ErrorMessage="Debe escribir la contraseña"
                        ValidationGroup="Crear"></asp:RequiredFieldValidator></td>
                        
            </tr>
            <tr>
                <td align="left">Confirmar Contraseña: </td>
                <td align="left">
                    <asp:TextBox ID="txtContrasena0" runat="server" CssClass="TextBox" MaxLength="50"
                        Width="176px" TextMode="Password"></asp:TextBox>
                    </td>
                        
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                        ShowSummary="False" ValidationGroup="Crear" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnAceptar" runat="server" Text="Guardar" CssClass="boton" 
                        Width="103px" ValidationGroup="Crear" onclick="btnAceptar_Click" />                    
                </td>
            </tr>
                    
        </table>

    </div>
    
    
</asp:Content>
